home *** CD-ROM | disk | FTP | other *** search
/ Shareware Grab Bag / Shareware Grab Bag.iso / 090 / iff.arc / IFF.DOC < prev    next >
Text File  |  1986-05-23  |  23KB  |  858 lines

  1.  
  2.  
  3.  
  4.  
  5.  
  6.  
  7.  
  8.  
  9.  
  10.  
  11.  
  12.  
  13.  
  14.  
  15.  
  16.                                       IFF
  17.  
  18.                                         Version 2.0
  19.  
  20.  
  21.  
  22.  
  23.  
  24.  
  25.  
  26.  
  27.  
  28.  
  29.  
  30.  
  31.  
  32.                                         By John Knauer,Jr.
  33.  
  34.                                         Source     # BCA717
  35.                                         CompuServe # 75236,1466
  36.  
  37.  
  38.  
  39.  
  40.  
  41.  
  42.  
  43.  
  44.  
  45.               Copyright (C) 1986 by John Knauer,Jr
  46.               ALL RIGHTS RESERVED.
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.                                                    May 1986
  61.  
  62.  
  63.  
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70.  
  71.  
  72.                                     Preface
  73.                                     -------
  74.  
  75.           IFF is a powerful BATch file utility, that performs a
  76.      multitude of functions, from asking a simple Y/N question to
  77.      check to see if a disk is formatted.
  78.  
  79.           Unlike other smaller utilities, IFF incorporates several
  80.      utilities in one package under one name, IFF.
  81.  
  82.           IFF is a small program (yes, I consider 14k small these
  83.      days), but if you plan on using it alot, you might want to put
  84.      it on your RAMdrive.
  85.  
  86.           IFF uses DOS' ERRORLEVEL BATch variable to let your BATch
  87.      file know what IFF has or has not found ( for more information
  88.      on ERRORLEVEL check your DOS manual).  By following IFF with
  89.      several of DOS' IF ERRORLEVEL ...  commands, you can test the
  90.      return codes and take apporpriate action.
  91.  
  92.           IFF is the Copyrighted property of John Knauer,Jr.  You are
  93.      granted a limited license to use IFF, and to copy it and
  94.      distribute it, provided that (1) no fee may be charged for such
  95.      copying and distribution, (2) IFF may ONLY be distributed in its
  96.      original unmodified state.
  97.  
  98.           You may not use this product in a commercial environment
  99.      or a government organization without paying a license fee.
  100.      Site licenses and commercial distribution licenses are available.
  101.      Contact:
  102.  
  103.                              John Knauer,Jr
  104.                              6 Horseshoe Dr
  105.                              Brookfield,CT 06804
  106.  
  107.               for more details.
  108.  
  109.           I will support this utility and it will continue to grow.
  110.      So, Copy it, Use it, Let me know if you like it (or not).
  111.  
  112.           The documentation is in alphabetic order and in the back
  113.      are some sample BATch files in case you don't get them with the
  114.      .ARC file.
  115.  
  116.           I'd like to thank Mike Todd for his suggestions and his
  117.      help with this documentation.
  118.  
  119.                                        ENJOY!
  120.  
  121.                                        CT-John
  122.  
  123.  
  124.  
  125.  
  126. IFF v2.0                                                   May 1986
  127.  
  128.  
  129.  
  130.  
  131.  
  132.  
  133.  
  134.  
  135.  
  136.  
  137.  
  138.                                                                   Page 1
  139.  
  140.  
  141.  
  142.                                     Syntax
  143.                                     ------
  144.  
  145.                          IFF  <option> <parameter>
  146.  
  147.  
  148.                                  Definitions
  149.                                  -----------
  150.  
  151.                      d:                Disk Drive.
  152.  
  153.                      \path\            Pathname (if applicable).
  154.  
  155.                      filename.ext      The name of the file to
  156.                                        which the option applies
  157.                                        (Wild Cards are NOT allowed).
  158.  
  159.                      TEXT              Single line of text to be
  160.                                        displayed on the screen.
  161.  
  162.                      SIZE              Number of K for which a drive
  163.                                        is being tested.
  164.  
  165.  
  166.                  Options                Parameters
  167.                  -------                ----------
  168.  
  169.                   E - Exist              d:\path\filename.ext <2>
  170.                   M - Menu               d:\path\filename.ext
  171.                   Q - Question           TEXT
  172.                   R - seaRch             d:\path\filename.ext
  173.                   S - Size               d: SIZE
  174.                   ?/space-blank          -none- gives online reference
  175.  
  176.  
  177.                                 Errorlevel Codes
  178.                                 ----------------
  179.  
  180.        99           Disk Drive door open or File not found
  181.        89           Disk is not Formatted
  182.        79           Not enough room
  183.        69           Parameter invalid -- Will beep with error message
  184.        20           File not found or NO ['Q' option]
  185.      1-10           Search's return code (See Text)
  186.       0-3           Menu responses
  187.         0           All went well or YES [ 'Q' Option]
  188.  
  189.  
  190.  
  191.  
  192. IFF v2.0                                                   May 1986
  193.  
  194.  
  195.  
  196.  
  197.  
  198.  
  199.  
  200.  
  201.  
  202.  
  203.  
  204.                                                                   Page 2
  205.  
  206.  
  207.  
  208.      IFF E d:\path\filename.ext  <2>
  209.      -------------------------------
  210.  
  211.           The Exist option tests for the existance of the specified file.
  212.      Unlike DOS' EXIST BATch file command, if the disk drive door is open,
  213.      you won't get the 'Abort,Retry or Ignore' error message.
  214.  
  215.           IFF sets DOS' ERRORLEVEL BATch variable to 99 if the file does
  216.      not exist or the disk drive door is open (default), with the 2 option
  217.      ERRORLEVEL is set to 99 if there is no disk in the drive and 20 if
  218.      there is a disk, but the file was not found.  If the file exists
  219.      ERRORLEVEL is set to 0.
  220.  
  221.      Example:
  222.      -------
  223.  
  224.           If you wanted to test for the existence of a file named
  225.      PROGRAM.BAT in the subdirectory named \BATCH on drive D:, you
  226.      would use the following command:
  227.  
  228.        IFF E D:\BATCH\PROGRAM.BAT
  229.  
  230.           If you needed to test not only for a disk, but also the
  231.      file, then you would use:
  232.  
  233.        IFF E D:\BATCH\PROGRAM.BAT 2
  234.  
  235.      this will cause to report 99 if there is no disk in drive D:,
  236.      or 20 if there is a disk, but the file was not found.
  237.  
  238.  
  239.  
  240.  
  241.  
  242.  
  243.  
  244.  
  245.  
  246.  
  247.  
  248.  
  249.  
  250.  
  251.  
  252.  
  253.  
  254.  
  255.  
  256.  
  257.  
  258. IFF v2.0                                                   May 1986
  259.  
  260.  
  261.  
  262.  
  263.  
  264.  
  265.  
  266.  
  267.  
  268.  
  269.  
  270.                                                                   Page 3
  271.  
  272.  
  273.  
  274.      IFF M d:\path\filename.ext
  275.      --------------------------
  276.  
  277.           This is an 'extension' of the Question option, discussed later,
  278.      that allows for more than a YES or NO response.  Filename is a text
  279.      file you create in the form of a menu with options numbered 0-3.
  280.  
  281.           IFF will set DOS' ERRORLEVEL BATch variable to your response,
  282.      ie., a response of 1 will set ERRORLEVEL to 1 etc.  If the specified
  283.      text file can not be found, IFF will set ERRORLEVEL to 69.
  284.  
  285.  
  286.         Example:
  287.         -------
  288.  
  289.           C:\MENU.FIL contains     --> :     This is a test menu
  290.                                        :     Start your favorite program
  291.                                        :     Your options are:
  292.                                        :
  293.                                        :     1 - Your Spreadsheet
  294.                                        :     2 - Your Database
  295.                                        :     3 - Your Word Processor
  296.                                        :     0 - End
  297.                                        :
  298.                                        :
  299.           When you invoke IFF by   --> :     IFF M C:\MENU.FIL
  300.                                        :
  301.                                        :     This is a test menu
  302.           IFF will print the text      :     Start your favorite program
  303.           file and prompt you with     :     Your options are:
  304.           "Choice ?"               --> :
  305.                                        :     1 - Your Spreadsheet
  306.                                        :     2 - Your Database
  307.                                        :     3 - Your Word Processor
  308.                                        :     0 - End
  309.                                        :
  310.                                        :     Choice ?
  311.  
  312.           Only 0,1,2 or 3 is accepted.  The prompt will remain on
  313.      the screen until the correct number is pressed.
  314.  
  315.  
  316.  
  317.  
  318.  
  319.  
  320.  
  321.  
  322.  
  323.  
  324. IFF v2.0                                                   May 1986
  325.  
  326.  
  327.  
  328.  
  329.  
  330.  
  331.  
  332.  
  333.  
  334.  
  335.  
  336.                                                                   Page 4
  337.  
  338.  
  339.  
  340.      IFF Q TEXT
  341.      ----------
  342.  
  343.           Question simply prompts you for a Y(es) or N(o) response.  The
  344.      text can be any question, up to 80 characters long, that can be
  345.      answered with a Y or N.
  346.  
  347.           IFF sets DOS' ERRORLEVEL BATch variable to 20 when the response
  348.      is N(o) and to 0 with a Y(es) response.
  349.  
  350.           Only Y,y,N or n is accepted.  The prompt remains on the
  351.      screen until either the Y or N key is pressed.
  352.  
  353.           ECHO off will supress the printing of the command line and
  354.      will display the TEXT along with the Y(es) or N(o) ? prompt.
  355.  
  356.      Example:
  357.      -------
  358.  
  359.        IFF Q This is a sample question for display
  360.  
  361.       DISPLAYS:
  362.  
  363.        This is a sample question for display
  364.        Y(es) or N(o) ?
  365.  
  366.  
  367.  
  368.  
  369.  
  370.  
  371.  
  372.  
  373.  
  374.  
  375.  
  376.  
  377.  
  378.  
  379.  
  380.  
  381.  
  382.  
  383.  
  384.  
  385.  
  386.  
  387.  
  388.  
  389.  
  390. IFF v2.0                                                   May 1986
  391.  
  392.  
  393.  
  394.  
  395.  
  396.  
  397.  
  398.  
  399.  
  400.  
  401.  
  402.                                                                   Page 5
  403.  
  404.  
  405.  
  406.      IFF R d:\path\filename.ext
  407.      --------------------------
  408.  
  409.           Search is an extension of Exist.  With Search, you create
  410.      a text file with a list, of up to 10 filename, that you wish to
  411.      test for their existence.
  412.  
  413.           Search sets DOS' ERRORLEVEL BATch variable to 99 if the
  414.      drive door is open, the text file is empty or there are no matches.
  415.      69 if there is an invalid command parameter or 1-10 based on
  416.      the filenames position when found.
  417.  
  418.      Example:
  419.      -------
  420.                                             Filename
  421.                                             --------
  422.  
  423.        C:\FILE.LST contains        --> :  C:\STARTUP.BAT
  424.                                        :  B:\SETUP1.BAT
  425.                                        :  A:\MACRO.COM
  426.                                        :  D:\MP.COM
  427.                                        :  D:\MENU.BAT
  428.                                        :
  429.                                        :
  430.        When you invoke IFF with    --> :  IFF R C:\FILE.LST
  431.  
  432.  
  433.      IFF will test for the existance of each filename listed in
  434.      C:\FILE.LST until it finds a match.  IFF will set ERRORLEVEL
  435.      to the matching code of the file it found.
  436.  
  437.           If C:\STARTUP.BAT is found, the return code will be 1.
  438.      If A:\MACRO.COM is found first (the first 2 were not), then
  439.      the return code will be 3, and so on.
  440.  
  441.           IFF will return a 99 if there are no matches at all.
  442.  
  443.  
  444.  
  445.  
  446.  
  447.  
  448.  
  449.  
  450.  
  451.  
  452.  
  453.  
  454.  
  455.  
  456. IFF v2.0                                                   May 1986
  457.  
  458.  
  459.  
  460.  
  461.  
  462.  
  463.  
  464.  
  465.  
  466.  
  467.  
  468.                                                                   Page 6
  469.  
  470.  
  471.  
  472.      IFF S d: SIZE
  473.      -------------
  474.  
  475.           Size allows you to test the amount of available space on a
  476.      specified drive, AND it also lets you test to see if a disk in
  477.      the drive is formatted!
  478.  
  479.           IFF sets DOS' ERRORLEVEL BATch variable to 99 if the drive
  480.      door is open, 89 if the disk is NOT formatted, 79 if there is not
  481.      enough room [see note!!], based on the amount you specify or 0 if
  482.      everything goes OK.
  483.  
  484.  
  485.      *NOTE:
  486.           An empty formatted floppy disk, formatted under DOS 2.x or later
  487.       DOES NOT really contain 360k of space.  The actual size is 354k (that
  488.       one kept me going for a few minutes, when I was checking for bugs).
  489.  
  490.           PLEASE use only the 'K' amount.  For example; 12,288 is 12k,
  491.       262,144 is 256k not 262k.  If you need 512,485 you can test with
  492.       500.4736 or 501, just to be sure.
  493.  
  494.      Example:
  495.      -------
  496.  
  497.          If you wanted to test the disk in drive C: for 128k of free
  498.      space, from within your BATch file, you would include the line:
  499.  
  500.         IFF S C: 128
  501.  
  502.  
  503.  
  504.  
  505.  
  506.  
  507.  
  508.  
  509.  
  510.  
  511.  
  512.  
  513.  
  514.  
  515.  
  516.  
  517.  
  518.  
  519.  
  520.  
  521.  
  522. IFF v2.0                                                   May 1986
  523.  
  524.  
  525.  
  526.  
  527.  
  528. .
  529. .
  530.  
  531.  
  532.  
  533.  
  534.                                                            Appendix 1
  535.  
  536.  
  537.  
  538.  
  539. REM IFF_E.BAT
  540. ECHO OFF                                 : suppress display of commands
  541. CLS                                      : clear the screen
  542. :START                                   : Starting header
  543. IFF E A:\TEST.QWA 2                      : test for A:\TEST.QWA
  544. IF ERRORLEVEL 99 GOTO OPEN               :  errorlevel check
  545. IF ERRORLEVEL 20 GOTO THERE              :          .
  546. :OPEN                                    : No disk in drive header
  547. ECHO PLEASE MAKE SURE THERE IS A DISK    :
  548.           IN DRIVE A:                    :
  549. PAUSE                                    : pause
  550. GOTO START                               : jump to Start header
  551. :THERE                                   : Disk is present header
  552. ECHO CREATING A:\TEST.QWA FOR DEMO       :
  553. ECHO HERE > A:\TEST.QWA                  : creates A:\TEST.QWA
  554. IFF E A:\TEST.QWA 2                      : test for A:\TEST.QWA
  555. IF ERRORLEVEL 99 GOTO OPEN               :  errorlevel check
  556. IF ERRORLEVEL 20 GOTO THERE              :          .
  557. :WORKED                                  : Second file exists header
  558. ECHO A:\TEST.QWA IS PRESENT ON DRIVE A:  :
  559. ECHO NOW REMOVE THE DISK IN DRIVE A:     :
  560. PAUSE                                    : pause
  561. IFF E A:\TEST.QWA                        : make sure the right disk is back
  562. IF ERRORLEVEL 99 GOTO GONE               :  errorlevel check
  563. GOTO WORKED                              : jump to Second file exists header
  564. :GONE                                    : Opps disk not back yet
  565. ECHO NOW PUT THE DISK BACK IN DRIVE A:   :
  566. ECHO AND I WILL REMOVE A:\TEST.QWA       :
  567. PAUSE                                    : pause
  568. IFF A:\TEST.QWA                          : test to see if disk is back
  569. IF ERRORLEVEL 99 GOTO GONE               :  errorlevel check
  570. ECHO DELETING A:\TEST.QWA                :
  571. DEL A:\TEST.QWA                          : delete file and End of BATch file
  572.  
  573.  
  574.  
  575.  
  576.  
  577.  
  578.  
  579.  
  580.  
  581.  
  582.  
  583.  
  584.  
  585.  
  586.  
  587.  
  588. IFF v2.0                                                   May 1986
  589.  
  590.  
  591.  
  592.  
  593.  
  594.  
  595.  
  596.  
  597.  
  598.  
  599.  
  600.                                                            Appendix 2
  601.  
  602.  
  603.  
  604. REM IFF_M.BAT
  605. ECHO OFF                                 : suppress display of commands
  606. CLS                                      : clear the screen
  607. IFF M MENU.FIL                           : start the menu display
  608. IF ERRORLEVEL 99 GOTO NO_FILE            :  errorlevel checks
  609. IF ERRORLEVEL 69 GOTO END                :          .
  610. IF ERRORLEVEL 3 GOTO 3                   :          .
  611. IF ERRORLEVEL 2 GOTO 2                   :          .
  612. IF ERRORLEVEL 1 GOTO 1                   :          .
  613. GOTO END_1                               : if none of the above it was 0
  614. :NO_FILE                                 : can't find file header
  615. ECHO MENU TEXT FILE MISSING OR           :
  616.          INVALID, OR DRIVE DOOR IS OPEN  :
  617. GOTO END                                 : jump to End of BATch file
  618. :3                                       : response 3 header
  619. ECHO YOU CHOSE YOUR WORD PROCESSOR       :
  620. GOTO AGAIN                               : jump to run IFF_M again
  621. :2                                       : response 2 header
  622. ECHO YOU CHOSE YOUR DATABASE             :
  623. GOTO AGAIN                               : jump to run IFF_M again
  624. :1                                       : response 1 header
  625. ECHO YOU CHOSE YOUR SPREADSHEET          :
  626. :AGAIN                                   : run IFF_M again header
  627. ECHO                                     : display status of ECHO
  628. ECHO GOING BACK TO THE MENU              : 
  629. IFF_M                                    : run IFF_M again
  630. :END_1                                   : response 0 header
  631. ECHO YOU CHOSE TO END                    :
  632. :END                                     : End of BATch file
  633.  
  634.  
  635.  
  636.  
  637.  
  638.  
  639.  
  640.  
  641.  
  642.  
  643.  
  644.  
  645.  
  646.  
  647.  
  648.  
  649.  
  650.  
  651.  
  652.  
  653.  
  654. IFF v2.0                                                   May 1986
  655.  
  656.  
  657.  
  658.  
  659.  
  660.  
  661.  
  662.  
  663.  
  664.  
  665.  
  666.                                                            Appendix 3
  667.  
  668.  
  669.  
  670. REM IFF_Q.BAT
  671. ECHO OFF                                 : suppress display of commands
  672. CLS                                      : clear the screen
  673. IFF Q DO YOU WANT TO CONTINUE            : ask the question
  674. IF ERRORLEVEL 1 GOTO NO                  :  errorlevel check
  675. ECHO YOUR ANSWER WAS YES                 : if code was 0
  676. GOTO END                                 : jump to End of BATch file
  677. :NO                                      : answer was NO header
  678. ECHO YOUR ANSWER WAS NO                  :
  679. :END                                     : End of BATch file
  680.  
  681.  
  682.           There are so many ways and uses for this command.
  683.      This is one small demo, but if you look at Appendix 5 (IFF_S.BAT)
  684.      you will see how it can be incorporated into a large BATch file.
  685.           You will also see how nice it is to use the same program
  686.      to do several jobs.
  687.  
  688.  
  689.  
  690.  
  691.  
  692.  
  693.  
  694.  
  695.  
  696.  
  697.  
  698.  
  699.  
  700.  
  701.  
  702.  
  703.  
  704.  
  705.  
  706.  
  707.  
  708.  
  709.  
  710.  
  711.  
  712.  
  713.  
  714.  
  715.  
  716.  
  717.  
  718.  
  719.  
  720. IFF v2.0                                                   May 1986
  721.  
  722.  
  723.  
  724.  
  725.  
  726.  
  727.                                                              Appendix 4
  728. REM IFF_R.BAT
  729. ECHO OFF                                 : suppress display of commands
  730. CLS                                      : clear the screen
  731. IFF R FILE.LST                           : search through file.lst
  732. IF ERRORLEVEL 99 GOTO 99                 :  errorlevel checks
  733. IF ERRORLEVEL 69 GOTO 69                 :          .
  734. IF ERRORLEVEL 10 GOTO 10                 :          .
  735. IF ERRORLEVEL 9 GOTO 9                   :          .
  736. IF ERRORLEVEL 8 GOTO 8                   :          .
  737. IF ERRORLEVEL 7 GOTO 7                   :          .
  738. IF ERRORLEVEL 6 GOTO 6                   :          .
  739. IF ERRORLEVEL 5 GOTO 5                   :          .
  740. IF ERRORLEVEL 4 GOTO 4                   :          .
  741. IF ERRORLEVEL 3 GOTO 3                   :          .
  742. IF ERRORLEVEL 2 GOTO 2                   :          .
  743. IF ERRORLEVEL 1 GOTO 1                   :          .
  744. GOTO END_1                               : if we get here we have a problem
  745. :99                                      : 99 header
  746. ECHO NO MATCHING FILES FOUND OR          :
  747. ECHO FILE.LST CONTAINS NO FILENAMES      :
  748. GOTO END                                 : jump to End header
  749. :69                                      : 69 header
  750. ECHO NO FILE.LST FILE FOUND              :
  751. GOTO END                                 :
  752. :10                                      : 10 header
  753. ECHO Return code 10                      :
  754. GOTO END                                 : jump to End header
  755. :9                                       :  9 header
  756. ECHO Return code 9                       :
  757. GOTO END                                 : jump to End header
  758. :8                                       :  8 header
  759. ECHO Return code 8                       :
  760. GOTO END                                 : jump to End header
  761. :7                                       :  7 header
  762. ECHO Return code 7                       :
  763. GOTO END                                 : jump to End header
  764. :6                                       :  6 header
  765. ECHO Return code 6                       :
  766. GOTO END                                 : jump to End header
  767. :5                                       :  5 header
  768. ECHO Return code 5                       :
  769. GOTO END                                 : jump to End header
  770. :4                                       :  4 header
  771. ECHO Return code 4                       :
  772. GOTO END                                 : jump to End header
  773. :3                                       :  3 header
  774. ECHO Return code 3                       :
  775. GOTO END                                 : jump to End header
  776. :2                                       :  2 header
  777. ECHO Return code 2                       :
  778. GOTO END                                 : jump to End header
  779. :1                                       :  1 header
  780. ECHO Return code 1                       :
  781. GOTO END                                 : jump to End header
  782. :END_1                                   : Problem header
  783. ECHO Problem                             :
  784. :END                                     : End of BATch header
  785.  
  786. IFF v2.0                                                   May 1986
  787.  
  788.  
  789.  
  790.  
  791.  
  792.  
  793.  
  794.                                                              Appendix 5
  795.  
  796.  
  797.  
  798.  
  799. REM IFF_S.BAT
  800. :START                                   : Starting header
  801. ECHO OFF                                 : suppress display of commands
  802. CLS                                      : clear the screen
  803. ECHO WE'LL TEST FOR 128K IN DRIVE A      :
  804. IFF S A: 128                             : test drive A: for 128k
  805. IF ERRORLEVEL 99 GOTO NO_FILE            :  errorlevel checks
  806. IF ERRORLEVEL 89 GOTO NOT_FORM           :          .
  807. IF ERRORLEVEL 79 GOTO NO_SPACE           :          .
  808. IF ERRORLEVEL 69 GOTO STOP               :          .
  809. GOTO OK                                  :  if none of the above all went well
  810. :NO_FILE                                 : No file found header
  811. ECHO THERE IS NO DISK IN DRIVE A:        :
  812. ECHO      PLEASE PUT A DISK IN DRIVE A:  :
  813. PAUSE                                    : pause
  814. GOTO START                               : re-start
  815. :NOT_FORM                                : Disk not formatted header
  816. ECHO THE DISK IN DRIVE A: IS NOT         :
  817.           FORMATTED                      :
  818. GOTO END                                 : jump to End header
  819. :NO_SPACE                                : Not enough space header
  820. ECHO THE DISK IN DRIVE A: HAS LESS       :
  821.           THAN 128K OF SPACE             :
  822. GOTO END                                 : jump to End header
  823. :OK                                      : Enough space header
  824. ECHO THE DISK IN DRIVE A: HAS 128K       :
  825.           OR MORE OF SPACE               :
  826. GOTO END                                 : jump to End header
  827. :END                                     : End header
  828. IFF Q DO YOU WANT TO TRY ANOTHER         : test to see if you want to do it
  829.           DISK IN DRIVE A:               :    again or not
  830. IF ERRORLEVEL 20 GOTO STOP               : errorlevel check
  831. ECHO PUT ANOTHER DISK IN DRIVE A:        : if not 20 then it's 0
  832. PAUSE                                    : pause
  833. GOTO START                               : jump to Start header
  834. :STOP                                    : End of BATch file
  835.  
  836.  
  837.  
  838.  
  839.  
  840.  
  841.  
  842.  
  843.  
  844.  
  845.  
  846.  
  847.  
  848.  
  849.  
  850.  
  851.  
  852. IFF v2.0                                                   May 1986
  853.  
  854.  
  855.  
  856.  
  857.  
  858.